x86/HVM: alter completion-needed checking
authorJan Beulich <jbeulich@suse.com>
Tue, 26 Jun 2018 06:47:17 +0000 (08:47 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 26 Jun 2018 06:47:17 +0000 (08:47 +0200)
commite017c882ef8bc1301054f3b4e341fb76f8affb8c
treedf1fa29db4add8ab8c8cedb3a0b87d9bddfcec0d
parent3310e3cd648f3713c824790bd71d8ec405a09d05
x86/HVM: alter completion-needed checking

The function only looks at the ioreq_t, so pass it a pointer to just
that. Also use it in hvmemul_do_io().

Suggested-by: Paul Durrant <paul.durrant@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
xen/arch/x86/hvm/emulate.c
xen/arch/x86/hvm/io.c
xen/arch/x86/hvm/ioreq.c
xen/arch/x86/hvm/vmx/realmode.c
xen/include/asm-x86/hvm/vcpu.h